from likeshop_project.base.mybase import Tools

class obtain_region_model(Tools):
    path = '/api/region/lists'

    def obtain_region_action(self):
        res = self.huihua.get(url=self.hosturl+self.path)
        return res.json()

import requests
s = requests.session()
reg = obtain_region_model(huihua=s)
mas = reg.obtain_region_action()
print(mas)